﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IBom_SubNodeBusiness
    {
        Task<PageResult<Bom_SubNodeDTO>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<Bom_SubNode> GetTheDataAsync(string id);
        Task AddDataAsync(Bom_SubNode data);
        Task UpdateDataAsync(Bom_SubNode data);
        Task DeleteDataAsync(List<string> ids);
        /// <summary>
        /// Bom树
        /// </summary>
        /// <returns></returns>
        Task<List<Bom_SubNodeTreeDTO>> GetTreeBomListAsyncs();
        //bom树状菜单
        Task<List<treedto>> GetMaterialTypeListAsync(string ParentId, string Like);
    }
}